package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ganjia
 * @since 2019-01-30
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWCS_T")
public class GwcsT extends PO<GwcsT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWCSENT", type = IdType.INPUT)
    private String GWCSENT;

    private String GWCSDOCNO;

    private BigDecimal GWCSSEQ;

    @Excel(name = "订单日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCSDOCDATE;

    @Excel(name = "产品品号")
    private String GWCS001;

    private String GWCS002;

    @Excel(name = "订单数量")
    private BigDecimal GWCS003;

    private BigDecimal GWCS004;

    private BigDecimal GWCS005;

    private String GWCS006;

    private String GWCS007;

    private String GWCS008;

    private String GWCS009;

    @Excel(name = "客户编号")
    private String GWCS010;

    private String GWCS011;

    private String GWCS012;

    private String GWCS013;

    private String GWCS014;

    private String GWCS015;

    @Excel(name = "预计交货期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCS016;

    private String GWCS017;

    private BigDecimal GWCS018;

    private String GWCS019;

    private String GWCS020;

    private String GWCS021;

    private String GWCS022;

    private String GWCS023;

    private String GWCS024;

    private String GWCS025;

    private String GWCS026;

    private String GWCS027;

    private String GWCS028;

    private String GWCS030;

    private BigDecimal GWCS031;

    private String GWCS050;

    private String GWCS060;

    private String GWCS061;

    private String GWCS062;

    private String GWCS101;

    private String GWCS102;

    private String GWCS103;

    private String GWCS104;

    private String GWCS105;

    private String GWCS106;

    private String GWCS107;

    private String GWCS108;

    private String GWCSPLANT;

    private String GWCSLEGAL;

    private String GWCSACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWCSUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWCSGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWCSMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWCSTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCSDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWCSORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWCSORIU;

    private String GWCS032;

    private String GWCS033;

    private BigDecimal GWCS034;

    private BigDecimal GWCS035;

    private BigDecimal GWCS036;

    private BigDecimal GWCS037;

    private BigDecimal GWCS038;

    private BigDecimal GWCS039;

    private BigDecimal GWCS040;

    private BigDecimal GWCS041;

    private String GWCS042;

    private String GWCS043;

    private String GWCS044;

    private String GWCS045;

    private String GWCS046;

    private String GWCSMLEGAL;

    /**
     * 活动编号
     */
    @Excel(name = "活动编号")
    private String GWCS109;

    /**
     * 促销方式
     */
    private String GWCS110;

    /**
     * 促销单据类型
     */
    private String GWCS111;

    /**
     * 协议仓库类型
     */
    private String GWCS112;

    /**
     * 发货仓库
     */
    @Excel(name = "发货仓库")
    private String GWCS113;

    /**
     * 最终客户
     */
    private String GWCS114;

    /**
     * 结算价
     */
    private BigDecimal GWCS115;

    /**
     * 标准计算上浮%
     */
    private BigDecimal GWCS116;

    /**
     * 订单类型
     */
    @Excel(name = "订单类型")
    private String GWCS117;

    /**
     * 拆包否
     */
    private String GWCS118;

    /**
     * 新增类型
     * 1：正常新增
     * 2：铺货新增
     */
    private String GWCS119;



    @Override
    protected Serializable pkVal() {
        return this.GWCSENT;
    }

}
